package com.woniuxy.java102vuecli.entity;

import java.util.Objects;

/**
 * @Author author
 * @Create 2023-10-17 9:27
 */

public class Aaa {

    private Integer sid;
    private Integer sname;
    private Integer stuName;
    private Integer sName;

    public Aaa() {
    }

    public Aaa(Integer sid, Integer sname, Integer stuName, Integer sName) {
        this.sid = sid;
        this.sname = sname;
        this.stuName = stuName;
        this.sName = sName;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Aaa aaa = (Aaa) o;
        return Objects.equals(sid, aaa.sid) && Objects.equals(sname, aaa.sname) && Objects.equals(stuName, aaa.stuName) && Objects.equals(sName, aaa.sName);
    }

    @Override
    public int hashCode() {
        return Objects.hash(sid, sname, stuName, sName);
    }
}
